<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Eloquent;

/**
 * Class PartnerUser
 * 
 * @property int $id
 * @property int $hall_id
 * @property int $user_id
 * @property string $username
 * @property int $partner_id
 * @property string $partner_name
 * @property string $partner_username
 * @property string $partner_password
 * @property \Carbon\Carbon $logined
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class PartnerUser extends Eloquent
{
	protected $table = 'partner_user';

	protected $casts = [
		'hall_id' => 'int',
		'user_id' => 'int',
		'partner_id' => 'int'
	];

	protected $dates = [
		'logined'
	];

	protected $hidden = [
		'partner_password'
	];

	protected $fillable = [
		'hall_id',
		'user_id',
		'username',
		'partner_id',
		'partner_name',
		'partner_username',
		'partner_password',
		'logined'
	];
}
